﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>itemPage</title>

    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.2.0.Preview/css/ui-dark.css" rel="stylesheet" />
    <script src="//Microsoft.WinJS.2.0.Preview/js/base.js"></script>
    <script src="//Microsoft.WinJS.2.0.Preview/js/ui.js"></script>

    <link href="/css/default.css" rel="stylesheet" />
    <link href="/pages/item/item.css" rel="stylesheet" />
    <script src="/js/data.js"></script>
    <script src="/pages/item/item.js"></script>
</head>
<body>
    <!-- This template is used to display each item in the ListView declared below. -->
    <div class="itemtemplate" data-win-control="WinJS.Binding.Template">
        <div class="item">
            <div class="item-info">
                <h2 class="item-title" data-win-bind="textContent: destination"></h2>
                <h4 class="item-subtitle" data-win-bind="textContent: estimate"></h4>
            </div>
        </div>
    </div>
    <!-- The content that will be loaded and displayed. -->
    <div class="itempage fragment">
        <header aria-label="Header content" role="banner">
            <button data-win-control="WinJS.UI.BackButton"></button>
            <h1 class="titlearea win-type-ellipsis">
                <span class="pagetitle"></span>
            </h1>
        </header>
        <section class="content" aria-label="Main content" role="main">
            
            <img id="stationMap" src="http://www.bart.gov/images/global/system-map.gif" style="-ms-grid-column-align: start;" />
            <div class="itemslist win-selectionstylefilled"
                id="DepartureList"
                aria-label="Station departure information"
                data-win-control="WinJS.UI.ListView"
                data-win-options="{itemTemplate:select('.itemtemplate'), layout:{type:WinJS.UI.ListLayout}, selectionMode:'none'}">
            </div>

        </section>
    </div>
</body>
</html>
